package com.zx.onlineeducation.service.edu.mapper;

import com.zx.onlineeducation.service.edu.entity.CourseDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zx.onlineeducation.service.edu.entity.vo.CourseInfoVO;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author 郑雪
 * @since 2022-01-13
 */
public interface CourseMapper extends BaseMapper<CourseDO> {

    /**
     * 根据课程ID查询课程基本信息
     *
     * @param courseId 课程ID
     * @return 课程基本信息视图对象 {@link CourseInfoVO}
     * @author 郑雪
     * @since 2022-01-14
     */
    CourseInfoVO selectCourseInfoById(String courseId);
}
